package com.zygh.policeasset.pojo.dto;

import cn.afterturn.easypoi.util.PoiElUtil;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/dto/QueryComponentDTO.class */
public class QueryComponentDTO {
    private Integer id;
    private Integer sort;
    private Integer componentShow;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public void setComponentShow(Integer componentShow) {
        this.componentShow = componentShow;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof QueryComponentDTO)) {
            return false;
        }
        QueryComponentDTO other = (QueryComponentDTO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$sort = getSort();
        Object other$sort = other.getSort();
        if (this$sort == null) {
            if (other$sort != null) {
                return false;
            }
        } else if (!this$sort.equals(other$sort)) {
            return false;
        }
        Object this$componentShow = getComponentShow();
        Object other$componentShow = other.getComponentShow();
        return this$componentShow == null ? other$componentShow == null : this$componentShow.equals(other$componentShow);
    }

    protected boolean canEqual(Object other) {
        return other instanceof QueryComponentDTO;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $sort = getSort();
        int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $componentShow = getComponentShow();
        return (result2 * 59) + ($componentShow == null ? 43 : $componentShow.hashCode());
    }

    public String toString() {
        return "QueryComponentDTO(id=" + getId() + ", sort=" + getSort() + ", componentShow=" + getComponentShow() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public Integer getSort() {
        return this.sort;
    }

    public Integer getComponentShow() {
        return this.componentShow;
    }
}